package io.github.i678.namedutils.api.utils;

import org.bukkit.command.CommandSender;

/**
 * Permission utils.
 * @author TheNameMan
 */
public class PermissionUtils {
    
    public static void noPermissions(CommandSender sender, String permission) {
        sender.sendMessage(ConfigurationUtils.getString("messages.messagePrefix") + (ConfigurationUtils.getBoolean("messages.spaceSeperator") ? " " : "") + ConfigurationUtils.getString("messages.noPermissions"));
    }
    
}